package com.hao.crm.service;

import java.util.List;

import com.hao.crm.domain.Role;
import com.hao.crm.page.PageResult;
import com.hao.crm.query.QueryObject;

public interface IRoleService {
	int delete(Long id);

    int insert(Role role);

    Role get(Long id);

    List<Role> selectAll();

    int update(Role role);
    PageResult selectByCondition(QueryObject qo);

	List<Long> selectByEid(Long id);

}
